package com.wanxi.education.model.vo.course;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: yanguangqiong
 * @Description:
 * @Date: Created in 2021/9/24
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "通过首页点击课程进入课程详情类")
public class CourseByIdVo {
    @ApiModelProperty(value = "课程id")
    private Long id;
    @ApiModelProperty(value = "课程标题")
    private String title;
    @ApiModelProperty(value = "课程介绍")
    private String introduce;
    @ApiModelProperty(value = "主图uri")
    private String picture;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    @ApiModelProperty(value = "课程时长")
    private String courseDuration;
    @ApiModelProperty(value = "老师姓名")
    private String teacher;
}
